using System;
using System.Collections.Specialized;
using GeneXus.Builder;
using System.IO;
public class bldserver : GxBaseBuilder
{
   string dll_path = ".\\bin" ;
   string cs_path = "." ;
   public bldserver( ) : base()
   {
   }

   public override void BeforeCompile( )
   {
   }

   public override void AfterCompile( )
   {
      if ( ! File.Exists(dll_path+"\\server.exe.config") || checkTime( dll_path+"\\server.exe.config" , cs_path + "\\server.exe.config" ) )
      {
         File.Copy( cs_path + "\\server.exe.config", dll_path+"\\server.exe.config", true);
      }
   }

   static public void Main( string[] args )
   {
      bldserver x = new bldserver() ;
      x.LoadVariables( args);
      x.CompileAll( );
   }

}

